Skip to content

Migrate from blocking "requests" to async "aiohttp"#43

Merged
MysticMia merged 2 commits into
mainfrom
unblocking
May 23, 2026
Merged

Migrate from blocking "requests" to async "aiohttp"#43
MysticMia merged 2 commits into
mainfrom
unblocking

Conversation

@Cyclic3
Copy link
Copy Markdown
Contributor

@Cyclic3 Cyclic3 commented Oct 11, 2025

TL;DR: Made it so that hard maths problems do not disable ban appeals

I've moved all the blocking requests usages with aiohttp, which means that web requests will not freeze the entire bot while it waits for a response.

To ensure that this doesn't happen again, I've removed requests from requirements.txt

@Cyclic3 Cyclic3 marked this pull request as draft October 11, 2025 22:47
@Cyclic3
Copy link
Copy Markdown
Contributor Author

Cyclic3 commented Oct 11, 2025

Just a heads up, I have not yet got admin, so I've had no chance to test this :(

@MysticMia MysticMia merged commit 19268dd into main May 23, 2026
2 checks passed
@MysticMia MysticMia deleted the unblocking branch May 24, 2026 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants